package appcus

import (
	"counter-help/admin/server/middleware"
	"github.com/gin-gonic/gin"
)

type CusOrderViewRouter struct{}

func (s *CusOrderViewRouter) InitCusOrderViewRouter(Router *gin.RouterGroup, PublicRouter *gin.RouterGroup) {
	cusOrderViewRouter := PublicRouter.Group("appcusOrderView").Use(middleware.OperationRecord())
	{
		cusOrderViewRouter.POST("createOrderView", CusOrderViewApi.CreateOrderView) // 创建浏览记录
		cusOrderViewRouter.GET("getOrderViews", CusOrderViewApi.GetOrderViews)      // 获取用户浏览记录列表
	}
}
